package com.rf.richfitwheel.outbill.model;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDate;
import java.time.LocalDateTime;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;
import java.util.Date;

import com.rf.richfitwheel.common.Param;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author admin
 * @since 2024-06-12
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "AcceptBillInfo对象", description = "")
public class AcceptBillInfo extends Param implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "提示承兑ID")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "出票编号")
    private String outBillNumber;

    @ApiModelProperty(value = "票据类型")
    private String outBillType;

    @ApiModelProperty(value = "能否转让")
    private String isAssigned;

    @ApiModelProperty(value = "票据金额")
    private BigDecimal billAmount;

    @ApiModelProperty(value = "可否分包")
    private String isSeparate;

    @ApiModelProperty(value = "出票日期")
    private LocalDate outBillStart;

    @ApiModelProperty(value = "到期日期")
    private LocalDate outBillEnd;

    @ApiModelProperty(value = "出票人全称")
    private String outBillFullname;

    @ApiModelProperty(value = "出票人账号")
    private String outBillAccount;

    @ApiModelProperty(value = "出票行名称")
    private String outBillName;

    @ApiModelProperty(value = "出票行行号")
    private String outBillBankNumber;

    @ApiModelProperty(value = "收款人全称")
    private String receiptBillFullname;

    @ApiModelProperty(value = "收款人账号")
    private String receiptBillAccount;

    @ApiModelProperty(value = "收款行名称")
    private String receiptBillName;

    @ApiModelProperty(value = "收款行行号")
    private String receiptBillBankNumber;

    @ApiModelProperty(value = "承兑人全称")
    private String acceptBillFullname;

    @ApiModelProperty(value = "承兑人账号")
    private String acceptBillAccount;

    @ApiModelProperty(value = "承兑行名称")
    private String acceptBillName;

    @ApiModelProperty(value = "承兑行行号")
    private String acceptBillBankNumber;

    @ApiModelProperty(value = "业务联动方式")
    private String businessType;

    @ApiModelProperty(value = "合同交易号")
    private String contractNumber;

    @ApiModelProperty(value = "占用授信")
    private String creditExtension;

    @ApiModelProperty(value = "业务办理渠道")
    private String businessChannel;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "数据版本")
    private Integer version;

    @ApiModelProperty(value = "文件ID")
    private String fid;

    @ApiModelProperty(value = "审批状态")
    private String apvst;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "创建人")
    private String createName;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "更新人")
    private String updateName;

    @ApiModelProperty(value = "指令状态")
    private String instructionStatus;

    @ApiModelProperty(value = "子票包区间")
    private String billInterval;

    @ApiModelProperty(value = "承兑编号")
    private String acceptNumber;

    @ApiModelProperty(value = "数据源")
    private String dataSource;

    @ApiModelProperty(value = "出票人编码")
    private String outBillNo;

    @ApiModelProperty(value = "流程id")
    private String processInstanceId;

    @ApiModelProperty(value = "是否撤回")
    private String isBack;

    @ApiModelProperty(value = "撤回原因")
    private String backReason;

    @ApiModelProperty(value = "撤回前流程id")
    private String previousInstanceId;

    @ApiModelProperty(value = "撤回状态：1.正常0.审批中")
    private String state;
}
